﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Model.Entities;

namespace Model.Mappings
{
    public partial class HRDS_COMPUTER_HARDWARE_Map : ClassMap<HRDS_COMPUTER_HARDWARE>
    {
        public HRDS_COMPUTER_HARDWARE_Map()
        {
            Table("HRDS_COMPUTER_HARDWARE");
            Id(x => x.HARDWAREID)
                .Length(36);

            Map(x => x.GNETID).Nullable().Length(20);
            Map(x => x.HARDWARENAME).Nullable().Length(100);
            Map(x => x.HARDWAREDESCRIPTION).Not.Nullable().Length(400);
            Map(x => x.MARKTIME).Not.Nullable();
            Map(x => x.REMARK).Not.Nullable().Length(100);
            DoEditableMappings();
        }
    }
}
